﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VideoLink.Links;
using VideoLink.Utility;

namespace VideoLink.Links
{
    /// <summary>
    /// Класс-болванка, созданная для тестирования загрузки класса смартлинка
    /// </summary>
    class FakeInterface
    {
        public bool Active
        {
            get
            {
                DebugLog.Instance.WriteLine("FakeInterface.Active");
                return true;
            }
        }

        public event TransieveStatusHandler SendStatus;

        public event TransieveStatusHandler GetStatus;

        public event NewFileHandler NewFileReceived;

        public int OpenDevice()
        {
            DebugLog.Instance.WriteLine("FakeInterface.OpenDevice");
            return 0;
        }

        public int CloseDevice()
        {
            DebugLog.Instance.WriteLine("FakeInterface.CloseDevice");
            return 0;
        }

        public void SendFile(string fileName)
        {
            DebugLog.Instance.WriteLine("FakeInterface.SendFile");
        }
    }
}
